HCaptcha\Settings\General A

Total Complexity 74
Dependencies 4
Dependents 5
Total lines 1,139
Lines of code 791
Logical lines of code 198
Comment lines 130
Methods 18
Properties 1

Methods 18

Method Rating Maintainability Complexity Lines of code
init_form_fields()
C
16
2 436
is_valid_ip_or_range()
B
47 18 33
print_section_header()
A
46 8 40
section_callback()
A
50 8 32
check_config()
S
45 6 43
setup_fields()
S
48 5 30
toggle_section()
S
54 4 19
admin_enqueue_scripts()
S
42 1 58
flatten_array()
S
58 3 15
check_ips()
S
58 3 15
print_hcaptcha_field()
S
56 2 20
init_hooks()
S
56 2 16
send_check_config_error()
S
66 3 8
init_notifications()
S
69 3 7
maybe_send_stats()
S
65 3 8
page_title()
S
79 1 3
section_title()
S
82 1 3
settings_fields()
S
73 1 5